package com.ge.modules.api.service.impl;

import com.ge.modules.api.service.TbStoreCommentLikeService;
import com.ge.modules.dao.TbStoreCommentLikeDao;
import com.ge.modules.entity.TbStoreCommentLikeEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TbStoreCommentLikeServiceImpl implements TbStoreCommentLikeService {
	@Autowired
	private TbStoreCommentLikeDao storeCommentLikeDao;
	
	@Override
	public TbStoreCommentLikeEntity queryObject(Integer id){
		return storeCommentLikeDao.queryObject(id);
	}

	@Override
	public TbStoreCommentLikeEntity queryByObject(TbStoreCommentLikeEntity tbStoreCommentLikeEntity) {
		return storeCommentLikeDao.queryByObject(tbStoreCommentLikeEntity);
	}

	@Override
	public List<TbStoreCommentLikeEntity> queryList(Map<String, Object> map){
		return storeCommentLikeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return storeCommentLikeDao.queryTotal(map);
	}
	
	@Override
	public void save(TbStoreCommentLikeEntity storeCommentLike){
		storeCommentLikeDao.save(storeCommentLike);
	}
	
	@Override
	public void update(TbStoreCommentLikeEntity storeCommentLike){
		storeCommentLikeDao.update(storeCommentLike);
	}
	
	@Override
	public void delete(Integer id){
		storeCommentLikeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		storeCommentLikeDao.deleteBatch(ids);
	}
	
}
